<?php


think\Route::rule('index',"admin/index/index");


//项目设置
think\Route::group('project',function (){
    think\Route::rule('index','admin/project/index');
    think\Route::rule('preview','admin/project/preview');
    think\Route::rule("clean","admin/project/cache_clear");
    think\Route::post("proinfo","admin/project/show_proinfo");
    think\Route::post("bd","admin/project/show_proinfo");

});


//账号设置
think\Route::group("user",function (){
        think\Route::put("set_user",'admin/User/set_user');//账号设置操作
        think\Route::get("user_show",'admin/User/user_show');//账号输出

});




//栏目管理
think\Route::group('column',function (){
    think\Route::rule('index','admin/Column/index');
    think\Route::get('preview/:id/:type','admin/column/preview_ListColumns');
    think\Route::get('column_info','admin/Column/column_info');
});


//文章发布
think\Route::group('article',function (){
    think\Route::rule('index','admin/Article/index');
});


//文章管理
think\Route::group('artmanage',function (){
    think\Route::rule('index','admin/Artmanage/index');
    think\Route::rule('Preview','admin/Artmanage/Preview');
    think\Route::post('updateArt','admin/Artmanage/updateArt');
    think\Route::post('build','admin/Artmanage/build');
    think\Route::post('columnUpdate','admin/Artmanage/column_update');
    think\Route::get('get_content','admin/Artmanage/get_content');
});




//安装程序界面
think\Route::group('install',function (){
    think\Route::rule('index','install/index/index');

    think\Route::rule('Installation','install/index/Installation');

    think\Route::rule('creates','install/index/creates');
});



//登录界面
think\Route::rule('login','admin/login/index');


think\Route::rule('test/:id','admin/Artmanage/test');



?>

